<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:gale="http://gale.tue.nl/adaptation">
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <link rel="stylesheet" href="../tutorial.css" type="text/css" />
  <title></title>
</head>

<body>
<gale:if expr="${#done}"><gale:then>
<h1>Introduction test result</h1>
<p>
Your test score was <gale:variable expr="${#knowledge}.intValue()" />.
</p>
</gale:then>
</gale:if>
<gale:test title="Quiz about the introduction section" total="2" action="#{#knowledge, value};#{#done, true};" expr="!${#done}" ask="2" alt="[You are not allowed to repeat this test.]" verbose="true">

<gale:question answers="2" right="1">
True or False: You can see this question and it should be about the tennis introduction.
<gale:answer correct="true">True
<gale:explain>
Indeed: You saw the question and answered it correctly!
</gale:explain>
</gale:answer>
<gale:answer correct="false">False
<gale:explain>
You did not see the question or you made the grave mistake of answering it incorrectly.
</gale:explain>
</gale:answer>
</gale:question>
<gale:question answers="4" right="1">
How many balls may be in play during the playing of a volley?
<gale:answer correct="false">any number
<gale:explain>
You may think there are infinite balls in play, but the correct answer is only one.
</gale:explain>
</gale:answer>
<gale:answer correct="true">1
<gale:explain>
You are correct, it is indeed only one ball.
</gale:explain>
</gale:answer>
<gale:answer correct="false">2
<gale:explain>
Incorrect, only one ball may be in play.
</gale:explain>
</gale:answer>
<gale:answer correct="false">3
<gale:explain>
Incorrect, only one ball may be in play.
</gale:explain>
</gale:answer>
</gale:question>
<gale:result>
Your score was <gale:variable expr="${#knowledge}.intValue()" />. 
</gale:result>
</gale:test>
</body>
</html>
